package common

const (
	//DagKyeDisplayname displayName
	DagKyeDisplayname = "displayName"
	//DagKyeDescription description
	DagKyeDescription = "description"
	//DagKyeType description
	DagKyeType = "type"
	//DagKyeRule rule
	DagKyeRule = "rule"
	//DagKyeRequired required
	DagKyeRequired = "required"
	//DagKyeDefalut defalut
	DagKyeDefalut = "defalut"
	//DagKyeMessage message
	DagKyeMessage = "message"
	//DagKyeLength length
	DagKyeLength = "length"
)

const (
	//DagNameVersion version
	DagNameVersion = "Version"
	//DagNameName name
	DagNameName = "Name"
	//DagNameDisplayname displayName
	DagNameDisplayname = "DisplayName"
	//DagNameTriggers triggers
	DagNameTriggers = "Triggers"
	//DagNameStages stages
	DagNameStages = "Stages"
)

const (
	//DagTypeString string
	DagTypeString = "string"
	//DagTypeNumber number
	DagTypeNumber = "number"
	//DagTypeBoolean boolean
	DagTypeBoolean = "boolean"
	//DagTypeList list
	DagTypeList = "list"
	//DagTypeList min
	DagTypeMin = "min"
	//DagTypeList max
	DagTypeMax = "max"
	//DagTypeEnum enum
	DagTypeEnum = "enum"
	//DagTypeRegexp regexp
	DagTypeRegexp = "regexp"
	//DagTypeMixed stages
	DagTypeMixed = "mixed"
)

//env.xxxx 系统变量
const (
	SYSEnv          = "env."
	SYSCurrentStage = "current_stage"
	SYSCurrentJob   = "current_job"
	SYSName         = "name"
	SYSDisplayName  = "displayname"
)
